package com.ardo.entity.mall;

/**
 * 商品基础信息
 */
public class Product {

    private Integer id;//商品编号
    private String name;//商品名称
    private String barCode;//条形码
    private Integer categoryId;//分类编号
    private String characteristic;//描述
    private String dateAdd;//添加时间
    private String dateUpdate;//修改时间
    private boolean kanjia;//是否砍价
    private Integer kanjiaPrice;//
    private Integer minBuyNumber;//最小购买数
    private Integer minPrice;//最低价
    private Integer originalPrice;//团购价（存疑）
    private Integer paixu;//排序
    private String pic;//商品图片
    private boolean pingtuan;//是否拼团
    private Integer pingtuanPrice;//拼团价
    private String sellStart;//开始售卖
    private String sellEnd;//结束售卖
    private Integer shopId;//所属商铺编号
    private Integer status;//商品状态
    private String statusStr;//商品状态说明"上架"等
    private boolean storeAlert;//库存预警？
    private String stores;//库存量
    private boolean stores0Unsale;//库存量为0是是否不能售卖 true:不卖 false:卖
    private Integer type;//商品类型
    private Integer userId;//操作用户ID
    private String videoId;//视频ID
    private Integer views;//商品浏览数
    private Integer weight;//商品规格-重量
    private String unit;//商品单位
    private Integer numberFav;//收藏数
    private Integer numberGoodReputation;//好评数
    private Integer numberOrders;//订单数
    private Integer numberSells;//售卖数
    private String detail;//详情html片段



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCharacteristic() {
        return characteristic;
    }

    public void setCharacteristic(String characteristic) {
        this.characteristic = characteristic;
    }

    public String getDateAdd() {
        return dateAdd;
    }

    public void setDateAdd(String dateAdd) {
        this.dateAdd = dateAdd;
    }

    public String getDateUpdate() {
        return dateUpdate;
    }

    public void setDateUpdate(String dateUpdate) {
        this.dateUpdate = dateUpdate;
    }

    public boolean isKanjia() {
        return kanjia;
    }

    public void setKanjia(boolean kanjia) {
        this.kanjia = kanjia;
    }

    public Integer getKanjiaPrice() {
        return kanjiaPrice;
    }

    public void setKanjiaPrice(Integer kanjiaPrice) {
        this.kanjiaPrice = kanjiaPrice;
    }

    public Integer getMinBuyNumber() {
        return minBuyNumber;
    }

    public void setMinBuyNumber(Integer minBuyNumber) {
        this.minBuyNumber = minBuyNumber;
    }

    public Integer getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Integer minPrice) {
        this.minPrice = minPrice;
    }

    public Integer getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Integer originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getPaixu() {
        return paixu;
    }

    public void setPaixu(Integer paixu) {
        this.paixu = paixu;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public boolean isPingtuan() {
        return pingtuan;
    }

    public void setPingtuan(boolean pingtuan) {
        this.pingtuan = pingtuan;
    }

    public Integer getPingtuanPrice() {
        return pingtuanPrice;
    }

    public void setPingtuanPrice(Integer pingtuanPrice) {
        this.pingtuanPrice = pingtuanPrice;
    }

    public String getSellStart() {
        return sellStart;
    }

    public void setSellStart(String sellStart) {
        this.sellStart = sellStart;
    }

    public String getSellEnd() {
        return sellEnd;
    }

    public void setSellEnd(String sellEnd) {
        this.sellEnd = sellEnd;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public boolean isStoreAlert() {
        return storeAlert;
    }

    public void setStoreAlert(boolean storeAlert) {
        this.storeAlert = storeAlert;
    }

    public String getStores() {
        return stores;
    }

    public void setStores(String stores) {
        this.stores = stores;
    }

    public boolean isStores0Unsale() {
        return stores0Unsale;
    }

    public void setStores0Unsale(boolean stores0Unsale) {
        this.stores0Unsale = stores0Unsale;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getNumberFav() {
        return numberFav;
    }

    public void setNumberFav(Integer numberFav) {
        this.numberFav = numberFav;
    }

    public Integer getNumberGoodReputation() {
        return numberGoodReputation;
    }

    public void setNumberGoodReputation(Integer numberGoodReputation) {
        this.numberGoodReputation = numberGoodReputation;
    }

    public Integer getNumberOrders() {
        return numberOrders;
    }

    public void setNumberOrders(Integer numberOrders) {
        this.numberOrders = numberOrders;
    }

    public Integer getNumberSells() {
        return numberSells;
    }

    public void setNumberSells(Integer numberSells) {
        this.numberSells = numberSells;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
